package cn.sczc.jh.client.websocket.vo;

import java.io.Serializable;

public class WebsocketMessageVo implements Serializable {
	private static final long serialVersionUID = 1L;

	public final static String SENSOR_INFO_TYPE = "sensor";
	public final static String SENSOR_ALARM_TYPE = "sensor_alarm";
	public final static String DEVICE_INFO_TYPE = "device_info";
	public final static String DEVICE_STATE_TYPE = "device_state";
	public final static String DEVICE_ONLINE_TYPE = "device_online";
	public final static String DEVICE_OFFLINE_TYPE = "device_offline";
	public static final String DEVICE_PORT_TYPE = "device_port";
	public final static String CLOUD_PUSH_TYPE = "cloud_push";
	public final static String SENSOR_ONLINE_TYPE = "sensor_online";
	public final static String SENSOR_OFFLINE_TYPE = "sensor_offline";
	
	private String type;
	private Object data;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
